<template>
  <div class="downlod">
    <div class="img banxin" >
      <!-- 电脑/手机下载 -->
      <div class="ban-img" @click="showtoplist = false">
        <div class="ban-l">
          <h2>在电脑上听</h2>
          <img src="../assets/images/commper.png" alt="" />
          <div class="btn">
            <span class="mac"></span>
            <span class="win"></span>
          </div>
          <div class="comdon">下载电脑端</div>
        </div>
        <div class="ban-r">
          <h2>在手机上听</h2>
          <img src="../assets/images/Phone1.png" alt="" />
          <div class="btn">
            <span class="macapp"></span>
            <span class="andapp"></span>
          </div>
          <div class="comdon">
            <i></i>
            下载手机端
          </div>
        </div>
      </div>
      <!-- 其他操作系统客户端 -->
      <div class="qitadon">
        <div class="text" @click="showtoplist = !showtoplist">
          <i></i>
          其他操作系统客户端
        </div>
        <div class="toplist" v-if="showtoplist">
          <div class="model">
            <a href="javascript:;"><i class="Android"></i>Android</a>
            <a href="javascript:;"><i class="iphone"></i>iphone</a>
            <a href="javascript:;"><i class="ipad"></i>ipad</a>
            <a href="javascript:;"><i class="Mac"></i>Mac</a>
            <a href="javascript:;"><i class="PC"></i>PC</a>
            <a href="javascript:;"><i class="UWP"></i>UWP</a>
            <a href="javascript:;"><i class="Android5x"></i>Android 5.X</a>
            <a href="javascript:;"><i class="Linux"></i>Linux</a>
            <a href="javascript:;"><i class="Chrone"></i>Chrone</a>
          </div>
        </div>
      </div>
      <!-- 二维码 -->
      <div class="saoma">
        <img src="../assets/images/erweima.png" alt="" />
        <p>扫描二维码下载</p>
      </div>
    </div>
    <!-- 大图 -->
    <div class="cour">
      <div class="c-r banxin">
        <div class="cr-l">
          <h3>千万曲库 首首CD音质</h3>
          <p>
            囊括百万无损SQ音乐，你在用手机听歌时，<br />也能感受到纤毫毕现的CD音质，更能免费离线收听
          </p>
        </div>
        <div class="cr-r">
          <img src="../assets/images/dowonimg/1.jpg" alt="" />
        </div>
      </div>
    </div>
    <div class="cour hui">
      <div class="c-r banxin">
        <div class="cr-l">
          <h3>千位明星 亲自推荐音乐</h3>
          <p>
            韩红，戴佩妮等千位明星已入驻，亲自创建私房歌单，录制独
            家DJ节目，推荐他们心中的好音乐
          </p>
        </div>
        <div class="cr-r">
          <img src="../assets/images/dowonimg/2.jpg" alt="" />
        </div>
      </div>
    </div>
    <div class="cour">
      <div class="c-r banxin">
        <div class="cr-l">
          <h3>社交关系 发现全新音乐</h3>
          <p>
            你可以关注明星、DJ和好友，通过浏览他们的动态、收藏和
            分享，发现更多全新好音乐
          </p>
        </div>
        <div class="cr-r">
          <img src="../assets/images/dowonimg/3.jpg" alt="" />
        </div>
      </div>
    </div>
    <div class="cour hui">
      <div class="c-r banxin">
        <div class="cr-l">
          <h3>手机电脑 歌单实时同步</h3>
          <p>
            只要一个帐号，你就可以同步在手机、电脑上创建、收藏
            的歌单，随时随地畅享好音乐
          </p>
        </div>
        <div class="cr-r">
          <img src="../assets/images/dowonimg/4.jpg" alt="" />
        </div>
      </div>
    </div>
    <div class="cour">
      <div class="c-r banxin">
        <div class="cr-l">
          <h3>听歌识曲 助你疯狂猜歌</h3>
          <p>
            歌曲很动听却不知道歌名，歌名在嘴边却想不起来……<br />
            用听歌识曲功能，几秒钟就知道歌名
          </p>
        </div>
        <div class="cr-r">
          <img src="../assets/images/dowonimg/5.jpg" alt="" />
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      // toplist 的显示隐藏
      showtoplist: false,
    };
  },
};
</script>
 
<style lang = "less" scoped>
@import "../assets/base.less";
.downlod {
  width: 100%;
  height: 100%;
  background: url("../assets/images/bj.png") no-repeat;
  background-color: #222;
  background-size: cover;
  position: relative;
  .img {
    position: relative;
    .ban-img {
      padding: 80px 0 112px;
      display: flex;
      justify-content: space-between;
      .ban-l,
      .ban-r {
        width: 556px;
        height: 100%;
        text-align: center;
        h2 {
          margin-bottom: 23px;
          width: 100%;
          text-align: center;
          font-size: 22px;
          opacity: 0.8;
          color: #ffffff;
        }
        img {
          width: 464px;
          height: 273px;
        }
        .btn {
          width: 100%;
          height: 44px;
          margin: 20px auto;
          display: flex;
          justify-content: space-around;
          span {
            display: inline-block;
            &.mac {
              width: 154px;
              height: 44px;
              background: url("../assets/images/Mac.png") no-repeat;
              background-size: contain;
            }
            &.win {
              width: 154px;
              height: 44px;
              background: url("../assets/images/Win.png") no-repeat;
              background-size: contain;
            }
          }
        }
        .comdon {
          width: 300px;
          height: 65px;
          margin: 0 auto;
          border-radius: 65px;
          background-color: #fff;
          color: #d10000;
          font-size: 22px;
          line-height: 65px;
          text-align: center;
          cursor: pointer;
          box-sizing: content-box;
        }
      }
      .ban-r {
        width: 300px;
        img {
          width: 246px;
          height: 273px;
        }
        .btn {
          width: 100%;
          height: 44px;
          margin: 20px auto;
          span {
            display: inline-block;
            &.macapp {
              width: 120px;
              height: 44px;
              background: url("../assets/images/Macapp.png") no-repeat;
              background-size: contain;
            }
            &.andapp {
              width: 120px;
              height: 44px;
              background: url("../assets/images/Andapp.png") no-repeat;
              background-size: contain;
            }
          }
        }
        .comdon {
          height: 65px;
          i {
            display: inline-block;
            width: 21px;
            height: 21px;
            margin-right: 3px;
            background: url("../assets/images/phoneerweima.png") no-repeat
              center;
            background-size: contain;
            vertical-align: -3px;
          }
        }
      }
    }
    .qitadon {
      .text {
        position: absolute;
        line-height: 60px;
        height: 60px;
        top: 0;
        right: 0;
        font-size: 14px;
        color: #fff;
        cursor: pointer;
        &:hover {
          color: #ccc;
        }
        i {
          display: inline-block;
          width: 20px;
          height: 20px;
          margin-top: 20px;
          margin-right: 6px;
          background: url("../assets/images/下载.png") no-repeat;
          background-size: contain;
          vertical-align: text-bottom;
        }
      }
      .toplist {
        position: absolute;
        width: 276px;
        background-color: #fff;
        top: 60px;
        right: 0;
        border-radius: 10px;
        box-sizing: border-box;
        &::after {
          position: absolute;
          border-left: 9px solid transparent;
          border-right: 9px solid transparent;
          border-bottom: 9px solid #f5f5f5;
          content: " ";
          display: block;
          height: 0;
          top: -8px;
          left: 209px;
        }
        .model {
          width: 276px;
          height: 295px;
          padding: 20px 0 0 10px;
          box-sizing: border-box;
          display: flex;
          flex-wrap: wrap;
          a {
            display: flex;
            width: 113px;
            height: 45px;
            margin-bottom: 10px;
            margin-left: 10px;
            font-size: 12px;
            color: #333333;
            line-height: 45px;
            background: rgba(0, 0, 0, 0.08);
            i {
              width: 26px;
              height: 26px;
              margin: 10px 9px 0 9px;
              &.Android {
                background: url("../assets/images/imag/Android.png") no-repeat;
                background-size: contain;
              }
              &.iphone {
                background: url("../assets/images/imag/iphone.png") no-repeat;
                background-size: contain;
              }
              &.ipad {
                background: url("../assets/images/imag/iphone.png") no-repeat;
                background-size: contain;
              }
              &.Mac {
                background: url("../assets/images/imag/Mac.png") no-repeat;
                background-size: contain;
              }
              &.PC {
                background: url("../assets/images/imag/PC.png") no-repeat;
                background-size: contain;
              }
              &.UWP {
                background: url("../assets/images/imag/PC.png") no-repeat;
                background-size: contain;
              }
              &.Android5x {
                background: url("../assets/images/imag/Android.png") no-repeat;
                background-size: contain;
              }
              &.Linux {
                background: url("../assets/images/imag/Linux.png") no-repeat;
                background-size: contain;
              }
              &.Chrone {
                background: url("../assets/images/imag/Chrone.png") no-repeat;
                background-size: contain;
              }
            }
          }
        }
      }
    }
    .saoma {
      position: fixed;
      width: 136px;
      height: 151px;
      background-color: #fff;
      border-radius: 10px;
      box-sizing: border-box;
      bottom: 50%;
      right: 30px;
      padding: 16px 18px 9px;
      text-align: center;
      img {
        width: 100px;
        height: 100px;
      }
      p {
        margin-top: 10px;
      }
    }
  }
  .cour {
    background-color: #fff;
    .c-r {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 982px;
      height: 437px;
      margin: 0 auto;
      background-color: #fff;
      .cr-l {
        margin-left: 30px;
        h3 {
          font-size: 46px;
          margin-bottom: 10px;
        }
        p {
          font-size: 16px;
          color: #666;
          line-height: 24px;
        }
      }
    }
  }
  .hui {
    background-color: #f8f8f8;
    .c-r {
      background-color: #f8f8f8;
      flex-direction: row-reverse;
    }
  }
}
</style>